package com.atomos.utils.monitor
{
	import com.atomos.particle.ParticleManager;
	import com.bourre.structures.Range;
	import com.kairos.utils.monitor.AbstractMonitorField;
	import com.kairos.engine.RTEvent;

	public class ParticleSystemsField extends AbstractMonitorField
	{
		public function ParticleSystemsField( dr : Range = null, col : Number = NaN )
		{
			super( "Emitters", 0, "", dr, col );
		}
		public override function registerValue(e:RTEvent):void
		{
			_nLastValue = _nValue;
			_nValue = ParticleManager.getInstance().getParticleSystemsCount();
		}
	}
}